package entityAdapter

import (
	"gitee.com/fierce_wolf/go-fox-edge-common/commEntity"
	"gitee.com/fierce_wolf/go-fox-edge-common/edgeEntity"
)

type IDeviceHistoryAdapter interface {
	SaveHistoryEntity(existValue commEntity.IEntity, statusValues map[string]interface{})
	ClearHistoryEntity()
}

type IOperateRecordAdapter interface {
	ClearOperateRecord()
}

type IDeviceRecordAdapter interface {
	ClearDeviceRecord()
}

type IDeviceValueRecordAdapter interface {
	SaveDeviceValueRecord(valueEntity []*edgeEntity.DeviceValueEntity)
	ClearDeviceValueRecordEntity()
}

type IDeviceSequenceAdapter interface {
	SaveDeviceSequenceRecord(deviceName string, record map[string]interface{})
	ClearDeviceSequenceRecord()
}
